package com.example.chuntiao.cophook.ui;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;

import com.example.chuntiao.cophook.mytools.MyApp;

/**
 * Created by chuntiao on 17-7-26.
 */

public class BaseActivity extends AppCompatActivity {

    private static final String TAG = "CurrActivity";

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        Log.d(TAG, "onCreate: ++++++++++++++++++++++++++++++++++");
        super.onCreate(savedInstanceState);

    }

    @Override
    protected void onStart() {
        Log.d(TAG, "onStart: ++++++++++++++++++++++++++++++++++++");
        super.onStart();

    }

    @Override
    protected void onResume() {
        Log.d(TAG, "onResume: +++++++++++++++++++++++++++++++++++++++");
        super.onResume();

    }

    @Override
    protected void onStop() {
        Log.d(TAG, "onStop: ++++++++++++++++++++++++++++++++++++++++++");
        super.onStop();

    }

    @Override
    protected void onDestroy() {
        Log.d(TAG, "onDestroy: +++++++++++++++++++++++++++++++++++++++++++");
        super.onDestroy();

    }
}
